home *** CD-ROM | disk | FTP | other *** search
/ CU Amiga Super CD-ROM 18 / CU Amiga Magazine's Super CD-ROM 18 (1997)(EMAP Images)(GB)[!][issue 1998-01].iso / CUCD / Programming / ModemLink / Source / ModemLinkDevAPI.h < prev    next >
C/C++ Source or Header  |  1997-03-25  |  521b  |  19 lines

  1. #ifndef ML_API_DEV_H
  2. #define ML_API_DEV_H
  3.  
  4. #include <exec/ports.h>
  5.  
  6. /*
  7. ** Commands to be sent to the device
  8. */
  9. #define MLCMD_READ      (CMD_NONSTD+0)      // Send a packet
  10. #define MLCMD_WRITE     (CMD_NONSTD+1)      // recieve a packet
  11. #define MLCMD_QUERY     (CMD_NONSTD+2)      // query the device
  12.  
  13. #define MLCMD_INIT      (CMD_NONSTD+0x10)   // for internal use only
  14.  
  15. void __saveds __asm ML_BeginIO(register __a1 struct IORequest *IOReq);
  16. void __saveds __asm ML_AbortIO(register __a1 struct IORequest *IOReq);
  17.  
  18. #endif
  19.